package top.songxs.gmall.feign.user;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import top.songxs.gmall.common.result.Result;
import top.songxs.gmall.user.entity.UserAddress;

import java.util.List;

@FeignClient(value = "service-user")
public interface UserFeignClient {

    @GetMapping(value = "api/inner/user/address/getUserAllAddress")
    public Result<List<UserAddress>> getUserAllAddress() ;
}
